package com.ylxin.spring.proxy.staticproxy;

/**
 * @author 29048
 * @version V1.0
 * @Project spring
 * @Package com.ylxin.spring.proxy.staticproxy
 * @Description: 中介2
 * Create by 杨立新 @Date 2022/8/26 12:50
 */
public class ZJ2 implements ChuzuAble{

    private ChuzuAble chuzuAble;

    //租户和谁找房子,谁就能够出租房子
    public void setChuzuAble(ChuzuAble chuzuAble) {
        this.chuzuAble = chuzuAble;
    }


    @Override
    public void chuzu() {
        System.err.println("ZJ22222中的方法chuzu执行了====>");
        chuzuAble.chuzu();
    }
}
